package com.wanxi.test;
//10~1的倒计时
public class Countdown {


    public static void main(String[] args) throws InterruptedException {

        for (int i=10; i >= 0 ; i--){
            Thread.sleep(1000);

            System.out.println(i);

        }


    }

}
